package com.example.zk.zk_example;

import org.zkoss.zhtml.Messagebox;
import org.zkoss.zk.ui.Component;
import org.zkoss.zk.ui.util.GenericForwardComposer;
import org.zkoss.zul.Textbox;

public class DemoWindowComposer extends GenericForwardComposer {
	
	private Textbox password;
	private Textbox username;
	
	public void doAfterCompose(Component comp) throws Exception {
		super.doAfterCompose(comp);		
	}
	
	public void onClick$add() {
		System.out.println(username.getValue());
		System.out.println(password.getValue());
		Messagebox.show("Hola pekenio " + username.getValue());
	}
}